package com.huawei.classroom.student.h19.q03;

public class ArrayUtil {
	public ArrayUtil() {
		
	}
	
	public int getMin(int[] array) {
		int minn = array[0];
		for(int i=1; i<array.length; i++) {
			if(minn > array[i]) {
				minn = array[i];
			}
		}
		return minn;
	}
}
